﻿using ServiceCore.Entity.Core;
using SqlSugar;
using System.Runtime.Serialization;

namespace ServiceCore.Entity.Model
{
    /// <summary>
    /// 
    /// </summary>
    [DataContract(IsReference = true)]
    [SugarTable("t_threshold")]
    public class ThresholdInfo: BaseEntity
    {
        /// <summary>
        /// 名称
        /// </summary>
        [DataMember]
        public System.String Name { get; set; } = "";

        /// <summary>
        /// 阈值类型(全部，标签类型，标签)
        /// </summary>
        [DataMember]
        public System.String ThresholdType { get; set; } = "";

        /// <summary>
        /// 开始值
        /// </summary>
        [DataMember]
        public System.Decimal StartValue { get; set; }

        /// <summary>
        /// 结束值
        /// </summary>
        [DataMember]
        public System.Decimal EndValue { get; set; }

    }
}
